adTempus API
PreviousUpNext
IJob::RemoteAgents Property

Gets the Agents with which this job is associated.

C++
__property IJobAgents** RemoteAgents;
C#
IJobAgents** RemoteAgents;
Visual Basic
Property RemoteAgents() As IJobAgents**

The JobAgentJoin objects in this collection indicate the status of this job on each Agent with which the job's JobQueue is associated. If the Queue does not use any Agents, the collection will be empty.

Beginning with version 3.0, agents cannot be assigned directly to jobs. Instead, the association is made through the job's JobQueue. The JobAgentJoin objects in this collection are therefore used only to track the status of the job on a particular agent, and the collection cannot be modified. Attempts to modify the collection will fail with error ADT_E_COLLECTION_READONLY.

adTempus API Reference version 3.0.0.0, revised 10/30/2008